
/**
 * @cat Mail
 * @name Renaissance.MailbucketInbox
 * @desc mail inbox
 * @param {String} inbox Mailbucket inbox
 * @return {Object} object
 */
function Renaissance.MailbucketInbox(inbox) {
	this.inbox = inbox;
	this.proxy = new Renaissance.YahooPipeRssProxy();
}
/**
 * @cat Mail
 * @name Renaissance.MailbucketInbox.prototype.fetch
 * @desc fetch emails from inbox
 * @param {Function} callback callback function to handle the output
 */
Renaissance.MailbucketInbox.prototype.fetch = function (callback) {
	var base = 'http://www.mailbucket.org/' + escape(this.inbox) + '.xml';
	return this.proxy.proxy(callback, base);
};
